package com.example.demo.handler;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.service.TheaterManagementService;
import com.woniuxy.movice.entity.Combo;
import com.woniuxy.movice.entity.Feedback;
import com.woniuxy.movice.entity.MainTheater;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api("总影院管理")
@RestController
@RequestMapping(value="/tm")
@lombok.Data
public class TheaterManagementController {
	
		@Resource
		private TheaterManagementService theaterManagementService;
	

		
		
		@ApiOperation(value="获得所有反馈",notes="返回所有反馈")
	    @RequestMapping(value="/getAllFeedback",method=RequestMethod.GET)
	    public List<Feedback> getAllFeedback(){
	        return theaterManagementService.getAllFeedback();
	    }
		
}
